package com.yiwenup.leave.sample.domain.person.repository.mapper;

import com.yiwenup.leave.sample.domain.person.repository.po.PersonPO;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Optional;

@Repository
public interface PersonDao {

    PersonPO findLeaderByPersonId(String personId);

    Optional<PersonPO> findById(String id);

    void save(PersonPO personPO);
}
